package top.idcard.agent.biz.rw.write.local;

import top.idcard.agent.biz.rw.write.AbstractWrite;

/**
 * @author wx
 * @version 1.0
 * @date 2021/2/1 3:40 下午
 */
public class LocalIndexDataWrite extends AbstractWrite<String> {

    @Override
    protected void init() {

    }

    @Override
    public byte[] translateBytes(String s) {
        return s.getBytes();
    }

    @Override
    public void write(byte[] data) {

    }

    @Override
    public void close() {

    }

    @Override
    public String dataFrom() {
        return "index";
    }
}
